<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/view/common/taglib.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <title>登录页</title>
    <%@include file="/WEB-INF/view/common/commonCSS.jsp"%>
</head>
<body>
    <div class="loginWraper">
        <div id="loginform" class="loginBox">
            <form class="form form-horizontal" action="#" method="post">
                <div class="row cl">
                    <label class="form-label col-xs-3"></label>
                    <div class="formControls col-xs-8">
                        <input id="username" name="username" type="text" placeholder="用户名" class="input-text size-L"/>
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-xs-3"></label>
                    <div class="formControls col-xs-8">
                        <input id="password" name="password" type="text" placeholder="密码" class="input-text size-L"/>
                    </div>
                </div>
                <div class="row cl">
                    <div class="formControls col-xs-8">

                    </div>
                </div>
                <div class="row cl">
                    <div class="formControls col-xs-8 col-xs-offset-3">
                        <label>
                            <input type="checkbox" name="online" id="online" vlaue=""/>
                        </label>
                    </div>
                </div>
                <div class="row cl">
                    <div class="formControls col-xs-8 col-xs-offset-3">
                        <button id="loginBtn" name="loginBtn" type="button" class="btn btn-success radius size-L" value="登录" onclick="test();"/>
                        <%--<input id="cancel" name="cancel" type="reset" class="btn btn-default radius size-L" value="取消" onclick="test()"/>--%>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <%@include file="/WEB-INF/view/common/commonJS.jsp"%>
    <script type="text/javascript">

        function test(){
            window.location.href = 'index';
        }

        $(function(){
            test()
        })
    </script>
</body>
</html>
